package com.ruoyi.datastatic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 科室同步内容对象 st_dept_list
 * 
 * @author ruoyi
 * @date 2025-09-20
 */
public class StDeptList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科室主键ID */
    private Long id;

    /** 科室代码 */
    @Excel(name = "科室代码")
    private String deptCode;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String deptName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDateTime;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptCode(String deptCode) 
    {
        this.deptCode = deptCode;
    }

    public String getDeptCode() 
    {
        return deptCode;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setCreateDateTime(Date createDateTime) 
    {
        this.createDateTime = createDateTime;
    }

    public Date getCreateDateTime() 
    {
        return createDateTime;
    }

    public void setUpdateDateTime(Date updateDateTime) 
    {
        this.updateDateTime = updateDateTime;
    }

    public Date getUpdateDateTime() 
    {
        return updateDateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptCode", getDeptCode())
            .append("deptName", getDeptName())
            .append("createDateTime", getCreateDateTime())
            .append("updateDateTime", getUpdateDateTime())
            .toString();
    }
}
